package com.study.talk.netty.message.response;

import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

/**
 *   邀请加入群聊消息响应
 */



public class InviteGroupResponse extends TalkMessage {

    //("群聊名称")
    private String groupName;

    //("群聊id")
    private Integer groupId;

    //("邀请方id")
    private Integer inviteUserId;

    //("邀请方名称")
    private String inviteUserName;

    @Override
    public byte getType() {
        return MessageType.INVITE_GROUP_RESPONSE;
    }

    public InviteGroupResponse(String groupName, Integer groupId, Integer inviteUserId,String inviteUserName) {
        this.groupName = groupName;
        this.groupId = groupId;
        this.inviteUserId = inviteUserId;
        this.inviteUserName = inviteUserName;
    }

    public String getInviteUserName() {
        return inviteUserName;
    }

    public void setInviteUserName(String inviteUserName) {
        this.inviteUserName = inviteUserName;
    }

    public InviteGroupResponse() {
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getInviteUserId() {
        return inviteUserId;
    }

    public void setInviteUserId(Integer inviteUserId) {
        this.inviteUserId = inviteUserId;
    }
}
